﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HomeBlock.ascx.cs" Inherits="Controls_HomeBlock" %>
<div class="slimpaco">
    <h2>
        <a href="#" id="idCategoryName" runat="server">COMMUNICATION</a></h2>
    <a href="#">
        <img src="../images/img8.jpg" alt="COMMUNICATION" id="imgFirstChild" runat="server" /></a>
    <h3>
        <a href="#" id="idArticleName" runat="server">When an unknown printer took</a></h3>
    <p id="idArticleDescription" runat="server">
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
        Ipsum has been the industry’s standard dummy text ever since.
    </p>
    <h6>
        <a href="#" id="idCategoryReadmore" runat="server">Read more >></a></h6>
    <ul>
        <asp:Repeater ID="rptHome" runat="server">
            <ItemTemplate>
                <li><a href="/tin-tuc/<%#DigiLib.StringUtils.RemoveUnicode(Eval("FULL_ARTICLE_TITLE").ToString(),"-") + "-c" + Eval("CATEGORY_ID").ToString() + "a" + Eval("ARTICLE_ID").ToString() %>.htm">
                    <%#DigiLib.StringUtils.Substring(Eval("FULL_ARTICLE_TITLE").ToString(),0,50) %></a></li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
</div>
